#ifndef VIEW_MANAGER_H
#define VIEW_MANAGER_H

#include <vector>
#include <iostream>
#include <gtk/gtk.h>
#include <goocanvas.h>

#include <viewConf.h>
#include <dockView.h>
#include <broadcast.h>

#include <subControllView.h>

namespace View {

  class ViewManager
  {
    GtkWidget *window;
    GtkWidget *canvas;
    GooCanvasItem *root;

    GooCanvasItem *backgroundImageGoo;
    GooCanvasItem *backgroundLayout;
    //GooCanvasItem *subControllLayout;
    //GooCanvasItem *dockLayout;

    std::vector<view*> subViews;
  public:
    ViewManager();
    ~ViewManager();

    int ReceiveBroadcast(Controller::Broadcast *broadcast);
  };

}

#endif
